/*
 * @Author: wurangkun
 * @Date: 2024-05-28 20:37:05
 * @LastEditTime: 2024-07-24 11:18:02
 * @LastEditors: wurangkun
 * @FilePath: \my-app\app\pages\haha\index.tsx
 * @Description: 
 */
import Page from '@/components/page';
import { px2dp } from '@/hooks/computedPx2Pd';
import MyStyleSheet from '@/hooks/useMySheetStyle';
import React, { useRef, useEffect } from 'react';
import { ScrollView, View, Text } from 'react-native';
import Animated from 'react-native-reanimated';

const Haha = () => {
  useEffect(() => {
    console.log('haha');
    return () => {
      console.log('haha unmount');
    }
  })
  return (
    <Page title="haha">
      <View style={styles.container}>
        <Animated.View style={{ width: 100, height: 100, backgroundColor: 'red' }} sharedTransitionTag='view' />

        <Text>1234</Text>
      </View>
    </Page>
  );
};

const styles = MyStyleSheet.create({
  container: {
    width: 600,
    height: px2dp(200),
    backgroundColor: 'red'
  },
})

export default Haha;